// ------------------------------------------------------ Naming ------------------------------------------------------
Name Panavia Tornado ECR
ShortName Tornado_ECR
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon icontornadoecr
Model germany.tornado_ecr
Texture tornadoecr
//Third Person Camera Distance
CameraDistance 20.0
//Resting Pitch. Set this so the plane spawns level. It will fall onto its collision boxes automatically, but this lets you start it flat
RestingPitch 0.0
HasGear True
HasWing True
ModelScale 1
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Plane
//Throttle
MaxThrottle 0.85
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 1.83
TurnRightSpeed 1.83
//Pitch modifiers
LookUpSpeed 0.85
LookDownSpeed 0.85
//Roll modifiers
RollLeftSpeed 1.54
RollRightSpeed 1.54
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1
//Lift
afterBurnName Afterburner
//Lift 2.5
//Wheels
NumWheels 3
WheelPosition 0 -19 -10 -34
WheelPosition 1 -19 -10 34
WheelPosition 2 92 -10 0
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
Propeller 0 0 0 0 core Repair
Propeller 1 0 0 0 core Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Bomb
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 2
ShootDelaySecondary 20
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary SemiAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 57 3 13 bay
ShootPointPrimary 39 -1 13 bay
ShootPointPrimary 20 4 13 bay
ShootPointPrimary -7 -5 13 bay
ShootPointPrimary -22 7 13 bay
ShootPointPrimary -43 3 13 bay
ShootPointPrimary 57 3 -13 bay
ShootPointPrimary 39 -1 -13 bay
ShootPointPrimary 20 3 -13 bay
ShootPointPrimary -7 -5 -13 bay
ShootPointPrimary -22 7 -13 bay
ShootPointPrimary -43 3 -13 bay
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 12
MissileSlots 0
AllowAllAmmo True
AddAmmo smallbomb
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 81 30 0
Passengers 1
Passenger 1 52 30 0 core
flightCeiling 1524
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound PlaneA
StartSoundLength 20
PropSound JetEngine2
PropSoundLength 47
ShootSoundPrimary JetShoot
ShootSoundSecondary MissileShoot
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 advancedMetalCockpit
AddRecipeParts coreWheel 2 wheel
AddRecipeParts nose 1 metalNose
AddRecipeParts rightWing 1 metalWingSmall
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts tail 1 metalTail
AddRecipeParts rightWingWheel 1 wheel
AddRecipeParts leftWingWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 white
AddDye 1 gray
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 40 -9 20 -5 10 20 10
SetupPart airframe 480 -93 9 -23 139 31 46
SetupPart tail 170 -149 16 -16 56 14 32
SetupPart leftWing 210 -78 25 -101 40 3 83
SetupPart rightWing 210 -78 25 18 40 3 83

//RightWing
CollisionPoint -43 28 -18 rightWing
CollisionPoint -43 28 -101 rightWing
CollisionPoint -3 28 -18 rightWing
CollisionPoint -3 28 -101 rightWing
//LeftWing
CollisionPoint -43 28 18 leftWing
CollisionPoint -43 28 101 leftWing
CollisionPoint -3 28 18 leftWing
CollisionPoint -3 28 101 leftWing
//Nose
CollisionPoint 81 28 0 core
CollisionPoint 46 28 0 core
CollisionPoint 81 28 0 core
CollisionPoint 46 28 0 core
CollisionPoint 81 28 0 core
CollisionPoint 46 28 0 core
CollisionPoint 81 28 0 core
CollisionPoint 46 28 0 core

BulletDetection 


//Collison Points

BulletSpeed 6
BulletSpread 1

IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 50

hasPlaneRadar true
radarPositionOffset 20
radarRange 1250
radarVisible true 
radarRefreshDelay 15

HasFlare True
FlareDelay 360
FlareSound Flare
TimeFlareUsing 5
LockedOnSound Lock
SoundTime 8
LockedOnSoundRange 15

EngineSoundRange 1000

ShootParticlesPrimary cloud 0 0 0
ShootParticlesSecondary cloud 1 0 0
ShootParticlesSecondary cloud -1 0 0
ShootParticlesSecondary explode -1 0 0
ShootParticlesSecondary flame -1 0 0

AddEmitter flansmod.fmsmoke 1 [-137,31,13] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail
AddEmitter flansmod.fmsmoke 1 [-137,31,-13] [1,1,1] [-1,0,0] 0.25 0.5 0 1 tail

AddEmitter flansmod.fmflame 1 [-137,31,13] [3,3,3] [-3,0,0] 0.75 2 0 1 tail
AddEmitter flansmod.fmflame 1 [-137,31,-13] [3,3,3] [-3,0,0] 0.75 2 0 1 tail